from django.urls import path,re_path
from . import views
urlpatterns = [
    re_path('^api/v1.0/orders$',views.AddOrdersView.as_view()),
    # re_path('^api/v1.0/user/orders$',views.GetOrderView.as_view()),
    re_path('^api/v1.0/orders/(?P<order_id>\d+)/status$',views.AgreeOrderView.as_view()),
    re_path('^api/v1.0/orders/(?P<order_id>\d+)/comment$',views.CommitOrderView.as_view()),
    re_path('^api/v1.0/orders/(?P<order_id>\d+)/payment$',views.PayView.as_view()),
    re_path('^payment/callback/$',views.PaymentStatusView.as_view()),
]